.PHONY:all
all:server client

Flag=#-DMySelf=1

server:ServerCal.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp $(Flag)
client:Client.cc
	g++ -o $@ $^ -std=c++11  -ljsoncpp $(Flag)

.PHONY:clean
clean:
	rm -f server client